#ifndef _CONTEXTEGL1_H_
#define _CONTEXTEGL1_H_

#include "czDisplay.h"

#include <GLES/egl.h>

class ContextEGL1: public Context
{
public:
  bool init(WindowInterface* window);

  void shutdown();

  bool fullscreen() { return true; }
  bool windowed() { return true; }

  void toggle() {}
  void update();
private:
  // EGL variables
  EGLDisplay			eglDisplay;
  EGLConfig			  eglConfig;
  EGLSurface			eglSurface;
  EGLContext			eglContext;
  NativeWindowType	eglWindow;
  EGLint				pi32ConfigAttribs[128];
  WindowHandle hWnd;
  #ifdef _WIN32
  HDC hDC;
  #endif
};

#endif // _CONTEXTEGL1_H_
